<template>
  <div class="tab_box detail_background">

    <!--标题栏-->
    <header class="header-top clearfix co-flex">
      <a href="javascript:;" class="back-btn iconfont icon-fanhui co-f05" :class="{'red':isRed}" @click="backDetail()"></a>
      <h3 class="header-title text-center co-f1" v-html="headerTitle"></h3>
      <a class="co-f05"></a>
    </header>
    <!--内容-->
    <div class="main">
      <!--<div class="content-title">-->
      <!--<h2 class="title-text text-left" v-html="contentTitle"></h2>-->
      <!--</div>-->

        <div class="white-bg-box pad-1rem my-materials">
            <div>
              <table cellspacing="0" cellpadding="0" border="0" width="100%" class="custom-table left border-b-dashed">
                <thead class="color-999999">
                <tr>
                  <th width="70%">名称</th>
                  <th width="30%" class="text-center">操作</th>
                </tr>
                </thead>
              </table>
              <scroller :on-infinite="infinite" ref="myScroll" class="relative">
                <div class="table-body">
                  <table cellspacing="0" cellpadding="0" border="0" width="100%" class="custom-table left border-b-dashed td-padding">
                    <tbody>
                    <tr v-for="(item,index) in tableData">
                      <td width="70%" v-html="item.attrName"></td>
                      <td width="30%">
                        <button type="button" class="con-mui-btn mui-btn" @click="toDetailFeature(item.id)">查看</button>
                        <a class="del-icon iconfont icon-guanbi2fill" @click="delData(item.id)"></a>
                      </td>
                    </tr>
                    </tbody>
                  </table>
                </div>
              </scroller>
            </div>
        </div>

    </div>

    <meun></meun>

  </div>
</template>

<script src="../../../../static/js/detail_myMaterials.js"></script>

<style lang="stylus" rel="stylesheet/stylus">
  @import "../../../../static/css/metro-detail.css"
</style>
